package week5;

public class Circle {
    //属性
    double radius;
    //方法
    public Circle(){}
    //构造方法
    public Circle(double radius){
        this.radius = radius;
    }
    //方法
    public double printArea(){
        return Math.PI*radius*radius;
    }
    public double printArea(double r){
        return Math.PI*r*r;
    }
}
